

#ifndef _SHELL_RESGETFULLACTIVITYINFO_MESSAGE_H_
#define _SHELL_RESGETFULLACTIVITYINFO_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
//#include <vector>
//#include "CaptionInfo.h"
using namespace std;

class ResGetFullActivityInfoMessage : public Message
{
	public:
	ResGetFullActivityInfoMessage();
	~ResGetFullActivityInfoMessage();
	void reset();
	ResGetFullActivityInfoMessage* clone();
	static const int _ID;
	//活动id
	int32 sid;
	//活动标题
	std::string title;
	//活动时间
	std::string timedes;
	//活动内容
	std::string description;
	//活动说明文字
	vector<CaptionInfo*> captionInfos;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
